package com.ykzb.talent.mapper;

import com.ykzb.talent.model.Talent;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by mac on 2017/4/7.
 */
@Repository(value = "talentMapper")
public interface TalentMapper {

    Integer selectTalentNumByUserId(@Param("userId")Long userId) throws Exception;

    void insert(Talent talent) throws Exception;

}
